<div class="row">

  <div class="col-xs-6 " ng-class="'col-md-'+{{col}}" ng-repeat="f in dataFiles"
  	ng-init="filePath=imgServerUrl+'/'+f.groupName+'/'+f.remoteFileName;colsInit();">
  	<button type="button" ng-click="remove(f)" ng-hide="cantedit()" title="移除" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  	
    <a target="_blank" href="{{filePath}}" class="thumbnail" style="margin:0px;">
      <img ng-src="{{filePath}}" alt="{{f.originalFilename}}" title="{{f.originalFilename}}" style="width:96px;height:101px;" ng-style="{{optionStyle}}">
    </a>
  </div>
  
  <div class="col-xs-6 " ng-class="'col-md-'+{{col}}" ng-init="colsInit();" ng-show="cantedit()==false && (dataFiles==null || dataFiles.length<count || count==0)">
  	<div class="thumbnail" style="margin:0px;">
    <button class="btn btn-primary" ng-model="files" ngf-select="" ngf-multiple="false" 
    	ngf-change="filesChanged($files, $file)"
		ngf-pattern="'image/gif,image/jpeg,image/jpg,image/png'"
		ngf-accept="'image/gif,image/jpeg,image/jpg,image/png'"
		ngf-max-size="20MB" ngf-min-height="100" ng-disabled="cantedit()">
		本地上传...
	</button>
    <button ng-click="triggerImagesClick()" class="btn btn-default" ng-disabled="cantedit()">图库选择...</button>
    </div>
  </div>

</div>
